﻿using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace VisionCloud.Domain.DtoModel.Applet.RequestDto
{
    /// <summary>
    /// 小程序诊断问答dto
    /// </summary>
    public class WxQADto
    {
        /// <summary>
        /// 项目Id
        /// </summary>
        [Required]
        public string ProjectId { get; set; }
        /// <summary>
        /// 项目名称
        /// </summary>
        public string ProjectName { get; set; }
        /// <summary>
        /// 楼栋名称
        /// </summary>
        [Required]
        public string BuildingName { get; set; }
        /// <summary>
        /// 项目阶段
        /// </summary>
        [Required]
        public string ProjectStage { get; set; }

        public string FloorName { get; set; }
        /// <summary>
        /// 问题
        /// </summary>
        [Required]
        public string Question { get; set; }
    }

    /// <summary>
    /// 诊断算法问答dto
    /// </summary>
    public class MeasureQADto
    {
        /// <summary>
        /// 项目Id
        /// </summary>
        [Required]
        [JsonProperty("filename")]
        public string FileName { get; set; }

        /// <summary>
        /// 报告或中间结果保存目录。
        /// </summary>
        [JsonProperty("save_dir")]
        public string SaveDir { get; set; } 

        /// <summary>
        /// 问题
        /// </summary>
        [Required]
        [JsonProperty("question")]
        public string Question { get; set; }
    }
}
